//在view/index.js里面讲所有的页面到导出export
// import Article from '@/components/larticle/article'
// import Dashboard from "@/views/dashboard/dashboard";
// import Login from "@/views/login/login";
// import NotFound from "@/views/not-found/not-found";
// import Sets from "@/views/sets/sets";

//路由懒加载
import Loadable from '@loadable/component';

const Article = Loadable(() => import("@/views/article/article"));

const Login = Loadable(() => import("@/views/login/login"));

const Dashboard = Loadable(() => import("@/views/dashboard/dashboard"));

const NotFound = Loadable(() => import("@/views/not-found/not-found"));

const Sets = Loadable(() => import("@/views/sets/sets"));

export { Article, Dashboard, Login, NotFound, Sets };
